package com.artislong.assistant;

import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;
import reactor.core.publisher.Flux;

/**
 * @author 陈敏
 * @version Assistant.java, v 1.0 2025 05 16 17:29 chenmin Exp $
 * Created on 2025 05 16
 */
@AiService(
        wiringMode = AiServiceWiringMode.EXPLICIT,
        streamingChatModel = "ollamaStreamingChatModel",
        chatMemoryProvider = "chatMemoryProvider"
)
public interface Assistant {

    Flux<String> chat(String message);
}
